/*
 * game.hh
 *
 *  Created on: 7 oct. 2011
 *      Author: eschmidmeier
 */

#ifndef GAME_HH_
#	define GAME_HH_

#include <FApp.h>
#include <FBase.h>
#include <FSystem.h>
#include <FUi.h>

const int TICKS_PER_SECOND = 25;
const int SKIP_TICKS = 1000 / TICKS_PER_SECOND;
const int MAX_FRAMESKIP = 5;

class Game: public Osp::App::Application,
	public Osp::System::IScreenEventListene
    {

public:
    // Class constructor, destructor and system methods are declared

    Game();
    ~Game();

    void AddScreen(int screenId);
    void ShowScreen(int screenId);
    FormGamePlay* GetGameScreen();
    FormScores* GetScoresScreen();
    int GetAiLevel(void);

private:
    FormMenu* _pMenuForm;
    FormScores* _pScoresForm;
    FormGamePlay* _pGamePlayForm;
    FormGameMode* _pGameModeForm;
    FormSettings* _pSettingsForm;
    };

#endif /* GAME_HH_ */
